PhpOffice\PhpSpreadsheet\Writer\Html D

Total Complexity 231
Dependencies 23
Dependents 1
Total lines 1,656
Lines of code 896
Logical lines of code 611
Comment lines 499
Methods 39
Properties 14

Methods 39

Method Rating Maintainability Complexity Lines of code
generateRow()
D
23
44 166
buildCSS()
B
32 19 106
generateSheetData()
B
37 18 73
calculateSpans()
A
40 15 59
extendRowsForChartsAndImages()
A
43 14 50
mapBorderStyle()
A
48 15 34
writeImageInCell()
A
42 12 49
generateHTMLHeader()
A
44 12 45
generateTableHeader()
A
48 10 31
createCSSStyleFont()
S
54 7 20
mapHAlign()
S
58 7 17
writeChartInCell()
S
49 6 27
generateStyles()
S
54 6 20
generateNavigation()
S
53 5 22
mapVAlign()
S
62 5 13
save()
S
54 4 21
formatColor()
S
59 3 14
createCSSStyleAlignment()
S
61 3 11
writeComment()
S
64 3 9
setMargins()
S
56 1 19
createCSSStyleBorder()
S
71 2 5
createCSSStyleFill()
S
68 2 7
assembleCSS()
S
66 2 8
createCSSStyle()
S
66 1 9
getEmbedImages()
S
82 1 3
getSheetIndex()
S
82 1 3
setSheetIndex()
S
77 1 4
setUseInlineCss()
S
77 1 4
getUseInlineCss()
S
82 1 3
setEmbedImages()
S
77 1 4
getImagesRoot()
S
82 1 3
setImagesRoot()
S
77 1 4
writeAllSheets()
S
77 1 4
getGenerateSheetNavigationBlock()
S
82 1 3
generateTableFooter()
S
76 1 4
setGenerateSheetNavigationBlock()
S
76 1 4
generateHTMLFooter()
S
71 1 6
createCSSStyleBorders()
S
66 1 8
__construct()
S
76 1 4